package factory_method_pattern.exercise.exercise1;

/**
 * 创建支付宝支付方式的具体工厂
 * @author ricejson
 */
public class AliPaymentFactory implements PaymentFactory {
    @Override
    public Payment createPayment() {
        return new AliPayment();
    }
}
